package query

import uuid "github.com/satori/go.uuid"

type UserQuery struct {
	UserId   uuid.UUID `json:"userId" form:"userId"`
	UserName string    `json:"username" form:"username" binding:"required"`
	PassWord string    `json:"password" form:"password"`
	Sex      string    `json:"sex" form:"sex" gorm:"type:varchar(10)"`
	Email    string    `json:"email" form:"email" gorm:"type:varchar(50)" binding:"omitempty,email"`
}
